From: Alexandre Emsenhuber Date: Sat, 2 Aug 2014 13:32:45 +0000 (+0200) Subject: Use camel case for variable names in Article.php X-Git-Tag: 1.31.0-rc.0~14437^2 X-Git-Url: http://git.cyclocoop.org/%22.%24info%5B?a=commitdiff_plain;h=23818fbd8819cef9c4926d137e3efb047b38d2c5;p=lhc%2Fweb%2Fwiklou.git Use camel case for variable names in Article.php Found only one which was not using it. Change-Id: I92a0268a70db0f741c1b83bb08b20717d4168043 --- diff --git a/includes/page/Article.php b/includes/page/Article.php index 436f148984..5566db367f 100644 --- a/includes/page/Article.php +++ b/includes/page/Article.php @@ -1551,9 +1551,9 @@ class Article implements Page { $user = $this->getContext()->getUser(); # Check permissions - $permission_errors = $title->getUserPermissionsErrors( 'delete', $user ); - if ( count( $permission_errors ) ) { - throw new PermissionsError( 'delete', $permission_errors ); + $permissionErrors = $title->getUserPermissionsErrors( 'delete', $user ); + if ( count( $permissionErrors ) ) { + throw new PermissionsError( 'delete', $permissionErrors ); } # Read-only check...